// 设置详情页标题路径
.title {
    margin-bottom: 6px;

    .common {
        span {
            text-align: left;
            color: #000;
            line-height: 36px;
            font-size: 14px;

        }
    }
}

// 设置详情页内容
.goods_tab {
    .common {
        // 设置头部tab图片以及放大镜
        .top {
            position: relative;
            .tableft {
                display: flex;
                float: left;

                .litteimg {
                    margin-right: 20px;
                    width: 108px;
                    height: 738px;

                    
                        li {
                            width: 108px;
                            height: 172px;
                            margin-bottom: 12px;

                            img {
                                width: 100%;
                                height: 100%;
                                cursor: pointer;
                            }
                        }

                        .bg {
                            border: 1px solid #000;
                        }
                    
                }

                
                .bigimg {
                    width: 464px;
                    height: 738px;
                    border: 1px solid #000;
                    position: relative;

                    img {
                        width: 100%;
                        height: 100%;
                    }

                    .mark {
                        width: 214px;
                        height: 238px;
                        position: absolute;
                        border: 1px solid #e1e1e1;
                        background: hsla(0, 0%, 100%, .5);
                        top: 0px;
                        left: 0px;
                        display: none;
                    }
                }

                .detail {
                    width: 480px;
                    margin-left: 20px;
                    padding-right: 32px;
                    border-right: 1px dashed #999;
                    box-sizing: content-box;

                    h2 {
                        font-size: 24px;
                        color: #000;
                        padding-left: 20px;
                        margin-bottom: 16px;
                    }

                    .bianma {
                        padding-left: 20px;
                        margin-bottom: 18px;

                        span {
                            font-size: 14px;
                        }
                    }

                    .price {
                        padding: 16px 20px;
                        margin-bottom: 18px;
                        background: url(../images/xiangqingye/detailbg.jpg) no-repeat;
                        background-size: 100%;
                        width: 480px;
                        height: 96px;

                        div {

                            .fuHao {
                                font-size: 14px;
                                font-weight: 700px;
                                color: #d91e25;
                            }

                            .priceTitle {
                                display: inline-block;
                                width: 76px;
                                font-size: 14px;
                                color: #999;
                                text-align: left;
                            }

                            .discountPrice {
                                font-size: 24px;
                                font-weight: 700;
                                color: #d91e25;
                            }

                            .sellPrice {
                                padding-left: 6px;
                                color: #999;
                                text-decoration: line-through;
                                font-size: 14px;

                            }

                            .discountFlag {
                                margin-left: 6px;
                                background-color: #d91e25;
                                color: #fff;
                                font-size: 12px;

                            }

                            .huoDong {
                                color: #000;
                            }

                            &:first-child {
                                margin-bottom: 18px;
                            }
                        }
                    }

                    .chiMa {
                        padding-left: 20px;
                        height: 42px;

                        span {
                            font-size: 14px;
                            width: 76px;
                            text-align: left;
                            float: left;

                        }

                        ul {
                            float: left;
                            display: flex;

                            li {
                                float: left;
                                font-size: 14px;
                                height: 28px;
                                cursor: pointer;
                                margin-right: 10px;
                                border: 1px dashed #999;
                                line-height: 25px;
                                padding: 1px 5px;
                                margin-bottom: 10px;
                                color: #000;
                            }

                            .bd {
                                border: 1px solid #000;
                                background: url("../images/xiangqingye/select.png") no-repeat right bottom;
                            }
                        }

                    }

                    .color {
                        padding-left: 20px;
                        height: 92px;
                        margin-bottom: 18px;

                        // display: flex;
                        // align-items: center;
                        span {
                            font-size: 14px;
                            width: 76px;
                            text-align: left;
                            float: left;
                            height: 100%;
                            line-height: 92px;

                        }

                        ul {
                            li {
                                width: 56px;
                                height: 87px;
                                margin-top: 5px;
                                line-height: 30px;
                                text-align: center;
                                font-size: 14px;
                                float: left;
                                cursor: pointer;
                                font-weight: 700;
                                margin-right: 10px;
                                border: 2px solid #e7e7e7;
                                position: relative;

                                img {
                                    width: 100%;
                                }
                            }

                            .bd {
                                border: 2px solid #000;
                                background: url("../images/xiangqingye/select.png") no-repeat right bottom;
                            }
                        }
                    }

                    .num {
                        height: 47px;
                        padding-left: 20px;
                        display: flex;

                        span {
                            font-size: 14px;
                            font-weight: 700;
                            width: 76px;
                            text-align: left;
                            float: left;
                        }

                        .button {
                            width: 62px;
                            height: 47px;
                            display: flex;
                            align-items: center;

                            .n {
                                width: 43px;
                                height: 45px;
                                border: 1px solid #999;
                                text-align: center;
                                line-height: 45px;
                                font-size: 16px;
                                color: #000;
                                font-weight: 400;
                            }

                            .btn {
                                width: 16px;
                                height: 45px;
                                border: 1px solid #999;
                                border-left: none;

                                p {
                                    height: 22px;
                                    width: 100%;
                                    text-align: center;
                                    line-height: 22px;
                                    background-color: #f3f3f3;
                                    cursor: pointer;
                                    border-bottom: 1px solid #999;
                                    color: #999;
                                    font-size: 14px;
                                }

                            }
                        }

                        .maxNum {
                            font-size: 14px;
                            font-weight: 700;
                            height: 100%;
                            line-height: 47px;
                            margin-left: 20px;

                            i {
                                color: #d91e25;
                                font-weight: 700;
                                margin: 0 5px;
                                font-size: 14px;

                            }
                        }

                    }

                    .buy {
                        padding-left: 20px;
                        height: 62px;
                        width: 480px;
                        margin-top: 60px;

                        .addCart {
                            width: 210px;
                            height: 48px;
                            border: 1px solid #000;
                            margin: 14px 10px 0 0;

                            cursor: pointer;    
                            i{
                                font-size: 18px;
                                color: #000;
                                padding: 4px 0 4px 36px;
                                background: url(../images/xiangqingye/cartAdd.png)no-repeat;                           
                            }                   
                          
                            &:hover {
                                background: #4d4d4d;
                            }
                            &:hover i {
                                background: url(../images/xiangqingye/cartAdd2.png) no-repeat;
                                color: #fff;
                            }

                        }

                        .buyNow {
                            width: 210px;
                            height: 48px;
                            margin-top: 14px 0 0;
                            font-size: 18px;
                            color: #fff;
                            background-color: #000;
                            cursor: pointer;
                            display: inline-block;
                            text-align: center;
                            line-height: 48px;
                            &:hover {
                                background-color: #4d4d4d;

                            }
                        }
                    }

                }
            }

            .recommendright {
                float: right;
                width: 155px;
                padding-left: 20px;

                div {
                    &:first-child {
                        font-size: 16px;
                        font-weight: 400;
                        color: #000;
                    }

                    ul {
                        li {
                            width: 128px;
                            height: 236px;
                            margin-top: 10px;
                            cursor: pointer;
                            text-align: center;

                            img {
                                width: 100%;
                                margin-bottom: 8px;
                            }

                            span {
                                color: #000;

                                &:first-of-type,
                                &:nth-of-type(3) {
                                    margin-top: 8px;
                                    font-size: 12px;
                                }

                                &:nth-of-type(2),
                                &:nth-of-type(4) {
                                    margin-top: 8px;
                                    font-size: 14px;
                                }

                            }

                            .red {
                                color: #d91e25;
                            }

                            .cuxiao {
                                text-decoration: line-through;
                                color: #999;
                            }
                        }
                    }
                    .choose{
                        padding: 0 20px;
                        display: flex;
                        justify-content: space-around;
                        cursor: pointer;
                        margin: 10px 0 20px;
                    }
                }
            }
            .fdj{
                width: 680px;
                height: 740px;
                border: 1px solid #000;
                position: absolute;
                top: 0px;
                left: 600px;
                overflow: hidden;
                // display: none;
                img{
                    width:924px;
                    height:1472px;
                    position: absolute;
                }
                
            }
        }
        // 设置分割线
        .cut{
            height: 1px;
            margin: 20px 0;
            clear: both;
            border-bottom: 1px solid #999;
        }

        // 设置商品详情信息
        .bottom{
            display: flex;
            .bottomMenu {
               
                width: 175px;
                float: left;
                padding-left: 20px;
        
                span {
                    width: 155px;
                    display: block;
                    font-size: 14px;
                    font-weight: 700;
                    color: #000;
                    margin-top: 5px;
        
                    &:first-child {
                        margin-top: 0px;
                    }
                }
        
                ul {
                    margin-top: 8px;
                    padding-left: 16px;
        
        
                    li {
                        padding: 6px 0;
                        margin-bottom: 6px;
        
                        a {
                            color: #000;
        
                            font-size: 14px;
        
                        }
        
                        &:hover a {
                            color: red;
                            text-decoration: underline;
                        }
                    }
                }
            }
            .contentimgs{
                width: 950px;
                text-align: center;
                border-right: 1px dashed #999;
            }
            .recommendright {
                float: right;
                width: 155px;
                padding-left: 20px;

                div {
                    &:first-child {
                        font-size: 16px;
                        font-weight: 400;
                        color: #000;
                    }

                    ul {
                        li {
                            width: 128px;
                            height: 236px;
                            margin-top: 10px;
                            cursor: pointer;
                            text-align: center;

                            img {
                                width: 100%;
                                margin-bottom: 8px;
                            }

                            span {
                                color: #000;

                                &:first-of-type,
                                &:nth-of-type(3) {
                                    margin-top: 8px;
                                    font-size: 12px;
                                }

                                &:nth-of-type(2),
                                &:nth-of-type(4) {
                                    margin-top: 8px;
                                    font-size: 14px;
                                }

                            }

                            .red {
                                color: #d91e25;
                            }

                            .cuxiao {
                                text-decoration: line-through;
                                color: #999;
                            }
                        }
                    }
                }
            }
        }

    }
}